var express = require("express");
var app = express();
var router = require("./router");
var config = require("./config/config.js")
var bodyParser = require("body-parser");

app.use(bodyParser.urlencoded({
	extended: true
}));
app.use(config.urlObj.root,router);


app.listen(3001,function(){
  console.log(3001);
})
